/*
 * @Author: your name
 * @Date: 2020-06-01 14:06:48
 * @LastEditTime: 2020-06-04 14:24:42
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile_project_200106\mobile_project\src\request\api\register.js
 */ 

 import {ajaxPost} from "@/utils/request.js"

 export function sendCode(data){//发送验证码
     const url="sendCode"
     return ajaxPost(url,data)
 }

 export function register(data){//用户注册
    const url="register"
    return ajaxPost(url,data)
 }